home *** CD-ROM | disk | FTP | other *** search
/ MaxiMac 2001 May / MaxiMac 114.iso / Macworld on CD n°114 / Macworld Pratiques / Programmation / Pour AppleScript / Desktop Auto-Rebuilder / Read Me < prev   
Encoding:
Text File  |  2000-02-04  |  4.2 KB  |  46 lines  |  [TEXT/ttxt]

  1. December 1998
  2. Desktop Auto-Rebuilder
  3.  
  4. What is this?
  5. When I first begun using the Macintosh 2 years ago, my first 'hack' was to take an extr alarge paper clip and bend it all funny so that it would clip onto the edge of the keyboard and hold the Option and Apple Keys down. This would keep those keys down so that the Rebuild Desktop dialog box would pop-up on startup. I thought I was pretty clever, and even joked about patenting my bend-up paper clip.
  6.  
  7. Now I'm the systems manager (among other things) for a shop of 35 editors, graphic artists, accountants, classified personnel, etc. Many of these poeple had a hard enough time learning to use a mouse, let alone rebuild the desktop. And rebuilding the desktop solves 80% of the software problems these people complain about. And that is what's given birth to this little program. It took quite a bit of research (and searching, made easier thanks to Sherlock) to figure out how to make this applet work.
  8.  
  9. This applet will move the Desktop DB and Desktop DF files to the trash. They're invisible, so they can't be moved with normal appleScript commands (this is why you'll need to add Jon's Commands to your Scripting Additions folder. See more on this below). After moving both of those Desktop files, the script will prompt the user to either Restart, Shutdown or just continue. The system should be restarted, just for stability. On the next startup, the Desktop will rebuild, without anyone waiting around to press Command-Option during startup.
  10.  
  11. What's this about Jon's Commands?
  12. Inside the Jon’s Commands 2.0.5 folder, inside the Desktop Auto-Rebuilder folder, is a scripting addition called Jon’s Commands. It should be put in your Scripting Additions folder, inside your System Folder. Just drag and drop it on your System Folder and let your MacOS put it where it belongs. Make sure you restart your computer to make the additions available.
  13.  
  14. If you intend on writing your own scripts, you should definitely keep Jon’s Commands in your Scripting Additions folder. It offers many AppleScript commands that wouldn't be possible otherwise, and in the case of this Applet, it really does most of the work. Check out my sourcecode (Desktop Auto-Rebuilder.src) for a look-see.
  15.  
  16. How do I use this script applet?
  17. I put this applet in the Apple Menu Items, in the System Folder, so that everyone can find it when I get a late night phone call.
  18.  
  19. What can I do with the script?
  20. You are welcome to edit, modify and re-distribute this script but you must agree to this:
  21.  
  22. A) You must include your uncompiled and editable source code with the release. This is important so that other scripters can learn from your work, just as you may learn from mine.
  23.  
  24. B) You must give me credit in your documentation, with the Apple-Matic URL as well. I like to see my hit counter go up :)
  25.  
  26. If you make changes to my applets, I prefer that you do it to a new file, with a new name and that you remove my name and descriptions from them. Also note that if you open and save these files the custom icon will be turned off after you've saved the file.
  27.  
  28. Disclaimer
  29. While the author of this software has made every effort to deliver a high quality product, the author does not guarantee that this product is free from defects.  The author is not responsible for any damage to the purchaser's computer system or data and in no event will I be responsible to the purchaser for any consequential, incidental, or indirect damages (including but not limited to damages for loss of business profits, business interruption, or loss of data) arising out of the use or inability to use this product, even if I have been advised of the possibility of such damages.  Because some states do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitations may not apply to you. The use of this software includes the complete agreement of this disclaimer.
  30.  
  31. System Requirements
  32. You need system 7.0 or higher, with AppleScript installed.
  33.  
  34. Contact:
  35. Gary Gehiere - ggehiere@hotmail.com
  36.  
  37. Visit Memory Module for free trance/ hard trance tracks:
  38. http://www.mp3.com/memorymodule/
  39.  
  40. Visit the PixelPress for more free Mac icons.
  41. http://www.golden.net/~ggehiere/pixelpress/
  42.  
  43. Visit Apple-Matic for free AppleScripts.
  44. http://www.golden.net/~ggehiere/apple-matic/
  45.  
  46. The Mac Kicks Ass